package com.sjhang.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.objenesis.instantiator.annotations.Instantiator;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 大纲表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TbOutline implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 大纲id
     */
    @TableId(value = "outline_id", type = IdType.ID_WORKER)
    private Long outlineId;

    /**
     * 大纲标题
     */
    private String outlineTitle;

    /**
     * 课程id
     */
    private Long stageId;


    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 最近修改时间
     */
    private LocalDateTime updateTime;

    /**
     * 操作人id
     */
    private Long updateId;

    /**
     * 逻辑删除
     */
    @TableLogic
    private Integer deleteFlag;

    /**
     * 版本号
     */
    @Version
    private Integer versionFlag;

    private String outlineUrl;

}
